export const asyncMenu = [
  {
    path: '/databoard',
    name: 'Boards',
    component: () => import('@/view/dashboard/index.vue'),
    meta: {
      title: '数据看板',
      icon: 'home-filled',
      keepAlive: false,
      closeTab: false,
      hidden: false
    },
    children: [
      {
        path: '/databoard/data',
        name: 'DatasBoard',
        component: () => import('@/view/dashboard/data/index.vue'),
        meta: {
          title: '数据看板',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/databoard/deliverymetrics',
        name: 'Deliverymetrics',
        component: () => import('@/view/dashboard/deliverymetrics/index.vue'),
        meta: {
          title: '交付指标',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/databoard/inventory',
        name: 'Inventory',
        component: () => import('@/view/dashboard/inventory/index.vue'),
        meta: {
          title: '库存指标',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      }

    ]
  },
  {
    path: '/Orders',
    name: 'Orders',
    component: () => import('@/view/orders/index.vue'),
    meta: {
      title: '订单管理',
      icon: 'List',
      keepAlive: false,
      closeTab: false,
      hidden: false
    },
    children: [
      {
        path: '/orders/lxorder',
        name: 'LxOrder',
        component: () => import('@/view/orders/lxorder/index.vue'),
        meta: {
          title: '领星订单',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/orders/sumoolorder',
        name: 'SumoolOrder',
        component: () => import('@/view/orders/sumoolorder/index.vue'),
        meta: {
          title: '速猫订单',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },

    ]
  },
  {
    path: '/Goods',
    name: 'Goods',
    component: () => import('@/view/goods/index.vue'),
    meta: {
      title: '商品管理',
      icon: 'Handbag',
      keepAlive: false,
      closeTab: false,
      hidden: false
    },
    children: [
      {
        path: '/goods/lxgoods',
        name: 'LxGoods',
        component: () => import('@/view/goods/lxgoods/index.vue'),
        meta: {
          title: '领星产品',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/goods/smgoods',
        name: 'SmGoods',
        component: () => import('@/view/goods/smgoods/index.vue'),
        meta: {
          title: '速猫产品',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/goods/pod',
        name: 'pod',
        component: () => import('@/view/goods/pod/index.vue'),
        meta: {
          title: 'pod测试',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
    ]
  },
  {
    path: '/Aging',
    name: 'Aging',
    component: () => import('@/view/aging/index.vue'),
    meta: {
      title: '时效管理',
      icon: 'SetUp',
      keepAlive: false,
      closeTab: false,
      hidden: false
    },
    children: [
      {
        path: '/aging/sendaging',
        name: 'SendAging',
        component: () => import('@/view/aging/sendaging/index.vue'),
        meta: {
          title: '发货时效',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/aging/orderaging',
        name: 'OrderAging',
        component: () => import('@/view/aging/orderaging/index.vue'),
        meta: {
          title: '时效订单',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
    ]
  },
  {
    path: '/Store',
    name: 'Store',
    component: () => import('@/view/store/index.vue'),
    meta: {
      title: '仓库管理',
      icon: 'TakeawayBox',
      keepAlive: false,
      closeTab: false,
      hidden: false
    },
    children: [
      {
        path: '/Store/smstore',
        name: 'SmStore',
        component: () => import('@/view/store/smstore/index.vue'),
        meta: {
          title: '速猫仓库',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
      {
        path: '/Store/yicang',
        name: 'yicang',
        component: () => import('@/view/store/yicang/index.vue'),
        meta: {
          title: '轶仓出库',
          closeTab: false,
          keepAlive: true,
          hidden: false
        }
      },
    ]
  },
  // {
  //   path: '/Customer',
  //   name: 'Customer',
  //   component: () => import('@/view/customer/index.vue'),
  //   meta: {
  //     title: '会员管理',
  //     icon: 'Avatar',
  //     keepAlive: false,
  //     closeTab: false,
  //     hidden: false
  //   },
  //   children: [
  //     {
  //       path: '/customer/customerlist',
  //       name: 'customerlist',
  //       component: () => import('@/view/customer/customerlist/index.vue'),
  //       meta: {
  //         title: '会员列表',
  //         closeTab: false,
  //         keepAlive: true,
  //         hidden: false
  //       }
  //     },
  //     {
  //       path: '/customer/leadscloudcustomerlist',
  //       name: 'leadscloudcustomerlist',
  //       component: () => import('@/view/customer/leadscloudcustomerlist/index.vue'),
  //       meta: {
  //         title: '询盘云客户列表',
  //         closeTab: false,
  //         keepAlive: true,
  //         hidden: false
  //       }
  //     },
  //   ]
  // },
]
